package com.appkubes.mall.admin.application.goods.goods.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author: Rongjie
 * @Date: 2020/3/3
 * @Description:
 */

@Data
@ApiModel("商品设置状态")
public class GoodsSetStateVO {

    @ApiModelProperty("商品主键")
    List<String> goodsKeys;


    @ApiModelProperty("状态")
    @NotNull(message = "状态值不对")
    @Max(value = 1, message = "状态值不对")
    @Min(value = 0, message = "状态值不对")
    Integer state;
}
